package top.ffhome.blog.service;

import java.util.Set;

import top.ffhome.blog.entity.Article;
import top.ffhome.common.service.BaseService;

public interface ArticleService extends BaseService<Article> {
	/**
	 * 根据博文ID查询标签ID
	 * @param articleId 博文ID
	 * @return
	 */
	Set<Long> selectLabelsByArticleId(Long articleId);

	/**
	 * 增加博文查看次数
	 * @param articleId
	 */
	void addCount(Long articleId);
}
